package tw.com.dao.report05;

import java.util.List;

import tw.com.to.report05.ComplainTypeAnalyzResultTO;
import tw.com.to.report05.ComplainTypeAnalyzResultTO03;
import tw.com.to.report05.ComplainTypeAnalyzResultTO04;

public interface ComplainTypeAnalyzDAO {
	public enum queryTimeType {
		Year(0), Quarter(1), Month(2);

		private int code;

		private queryTimeType(int code) {
			this.code = code;
		}
	}

	List<ComplainTypeAnalyzResultTO> query01(int startYear, int endYear,
			queryTimeType queryTimeType);

	List<ComplainTypeAnalyzResultTO> query02(int startYear, int endYear,
			String caseType, queryTimeType queryTimeType);

	List<ComplainTypeAnalyzResultTO03> query03(int startYear, int endYear,
			String caseType, String determine, String groupbyColumn,
			queryTimeType queryTimeType);

	List<ComplainTypeAnalyzResultTO04> query04(int startYear, int endYear,
			String caseType, String determine, String targetName,
			String targetValue, queryTimeType queryTimeType);

}
